core: fix a typo
authorMatthias Clasen <mclasen@redhat.com>
Fri, 11 May 2012 01:00:48 +0000 (21:00 -0400)
committerColin Walters <walters@verbum.org>
Sat, 12 May 2012 14:50:53 +0000 (10:50 -0400)
ostree config had two 'set' subcommands, but no 'get'.

src/ostree/ot-builtin-config.c

index c89640982e21b66f92c8ec6c1a6c7b8d86a7c92b..cac751dab953c38b49d4c46759b0d55f7bb3d0ae 100644 (file)
@@ -104,7 +104,7 @@ ostree_builtin_config (int argc, char **argv, GFile *repo_path, GError **error)
       if (!ostree_repo_write_config (repo, config, error))
         goto out;
     }
-  else if (!strcmp (op, "set"))
+  else if (!strcmp (op, "get"))
     {
       GKeyFile *readonly_config = NULL;
       ot_lfree char *value = NULL;